package com.ruicar.afs.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.constant.CommonConstants;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 *
 */
@Data
@TableName("sys_dict_data")
@ApiModel(value = "字典数据")
public class SysDictData extends BaseEntity<SysPermission> {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "数据名称")
	private String title;

	@ApiModelProperty(value = "数据值")
	private String value;

	@ApiModelProperty(value = "排序值")
	private BigDecimal sortOrder;

	@ApiModelProperty(value = "是否启用 1启用 -0禁用")
	private String status = CommonConstants.COMMON_YES;

	@ApiModelProperty(value = "备注")
	private String description;

	@ApiModelProperty(value = "所属字典")
	private String dictId;
}
